VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "clsModuleComment"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Option Base 1

Public Function IsCommentPrefix(ByVal Char As String) As Boolean
    IsCommentPrefix = (Char = "'")
End Function

Public Sub ProcessSingleQuote(Token As clsToken, Provider As clsCodeProvider)
    Dim sChar As String
    Provider.StepBack
    Do While Provider.CanContinue
        sChar = Provider.GetNextChar
        If sChar = vbCr Then
            If Provider.GetNextChar = vbLf Then
                Provider.StepBack 2
                Exit Do
            Else
                Provider.StepBack
            End If
        Else
            Token.PushChar sChar
        End If
    Loop
    Token.TokenType = Comment
End Sub
